// 考核兑现
import request from '@/utils/request'
import {commercialApiUrl} from '../config'

/**
 *获取项目效益审计列表数据------------------------项目效益审计-------------------------------------------
 * @param data
 */
export function getDataReportingList(data) {
    return request({
      url: commercialApiUrl + '/project/benefit/audit/list',
      method: 'post',
      data
    })
  }
     /**
 *统计
 * @param data
 */
 export function getDataReportingCount(data) {
    return request({
      url: commercialApiUrl + '/project/benefit/audit/count',
      method: 'post',
      data
    })
  }
      /**
 *获取列表数据
 *
 */
 export function getDataReportingOne(data) {
    return request({
      url: `${commercialApiUrl}/project/benefit/audit/query/${data.id}`,
      method: 'get',
    })
  }
      /**
 *保存数据
 * @param data
 */
 export function saveDataReportingList(data) {
    return request({
      url: commercialApiUrl + '/project/benefit/audit/save',
      method: 'post',
      data
    })
  }
  /**
 *获取考核兑现完成列表数据------------------------考核兑现完成-------------------------------------------
 * @param data
 */
 export function getDischargeList(data) {
    return request({
      url: commercialApiUrl + '/assess/fulfill/list',
      method: 'post',
      data
    })
  }
       /**
 *统计
 * @param data
 */
 export function getDischargeCount(data) {
    return request({
      url: commercialApiUrl + '/assess/fulfill/count',
      method: 'post',
      data
    })
  }
        /**
 *获取列表数据
 *
 */
 export function getDischargeOne(data) {
    return request({
      url: `${commercialApiUrl}/assess/fulfill/query/${data.id}`,
      method: 'get',
    })
  }
      /**
 *保存数据
 * @param data
 */
 export function saveDischargeList(data) {
    return request({
      url: commercialApiUrl + '/assess/fulfill/save',
      method: 'post',
      data
    })
  }